﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Batman.Jianbei.Forum.Core.Domains.Dicts;
using System.ComponentModel.DataAnnotations;

namespace Batman.Jianbei.Forum.Controllers.Dicts.PartitionInputs
{
    [AutoMap(typeof(Partition))]
    public class PartitionCreateInput
    {
        /// <summary>
        /// 规范化名称
        /// </summary>
        [Required]
        [MaxLength(128)]
        public string NormalizedName { get; set; }

        /// <summary>
        /// 别名
        /// </summary>
        [MaxLength(128)]
        public string Name { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
    }
}
